package com.ruoyi.yanjing.service;

import java.util.List;
import com.ruoyi.yanjing.domain.WeatherForecast;

/**
 * 预报天气Service接口
 * 
 * @author whz
 * @date 2024-12-04
 */
public interface IWeatherForecastService 
{
    /**
     * 查询预报天气
     * 
     * @param id 预报天气主键
     * @return 预报天气
     */
    public WeatherForecast selectWeatherForecastById(Long id);

    /**
     * 查询预报天气列表
     * 
     * @param weatherForecast 预报天气
     * @return 预报天气集合
     */
    public List<WeatherForecast> selectWeatherForecastList(WeatherForecast weatherForecast);

    /**
     * 新增预报天气
     * 
     * @param weatherForecast 预报天气
     * @return 结果
     */
    public int insertWeatherForecast(WeatherForecast weatherForecast);

    /**
     * 修改预报天气
     * 
     * @param weatherForecast 预报天气
     * @return 结果
     */
    public int updateWeatherForecast(WeatherForecast weatherForecast);

    /**
     * 批量删除预报天气
     * 
     * @param ids 需要删除的预报天气主键集合
     * @return 结果
     */
    public int deleteWeatherForecastByIds(Long[] ids);

    /**
     * 删除预报天气信息
     * 
     * @param id 预报天气主键
     * @return 结果
     */
    public int deleteWeatherForecastById(Long id);
}
